<div class="container-fluid">
  <a class='label label-success pull-right' href='/tag/list/' style='margin-right:5px;'>返回标签列表</a>
  <span class='label label-info'>标签管理</span>
  <div style='border-top:1px solid #ddd;'></div>
  <div style='height:10px;clear:both;'></div>
  <table class='table table-bordered'>
    <thead>
      <tr>
        <th style='width:100px;'>#专题</th>
        <th>#标签</th>
        <th style='width:80px;'>#OP</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><?php echo $collection->name;?></td>
        <td>
          <ul style='margin:0px;'>
            <?php foreach ($collection->tags as $t):?>
            <li style='list-style:none;float:left;margin-left:20px;'>
	      <label class="checkbox">
		<input type='checkbox' name='tag' value='<?php echo $t->name;?>'><?php echo $t->name;?>
	      </label>
            </li>
            <?php endforeach;?>
          </ul>
        </td>
        <td><a class='btn btn-mini btn-danger delete' data-collection-id='<?php echo $collection->id;?>'>删除</a></td>
      </tr>
    </tbody>
  </table>
</div>

